CC = arm-none-linux-gnueabi-gcc
OBJ = collect_data.o dispose.o init.o init_socket.o \
	  main.o modul.o mysqlite3.o mytime.o read_fifo.o \
	  read_socket.o send.o serial.o server.o sqlite3.o \
	  sqlite_operation.o sqlite_read.o toward_M0.o \
	  camera.o convert.o srv.o tcp.o video.o savePic.o
all : server 
	mv server ../bin/server/
server : $(OBJ)
	$(CC) *.o -o server -ldl -lpthread -ljpeg -L/home/linux/jpeg_9/lib
clean :
	rm *.o
